<?php
/**
 * The template for displaying archive pages
 *
 * Used to display archive-type pages if nothing more specific matches a query.
 * For example, puts together date-based pages if no date.php file exists.
 *
 * If you'd like to further customize these archive views, you may create a
 * new template file for each one. For example, tag.php (Tag archives),
 * category.php (Category archives), author.php (Author archives), etc.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 1.0
 */

get_header(); ?>

	
		
		<div class="con_2">
			<div class="small-nav">
			当前位置：&nbsp;<a href="<?php bloginfo('url'); ?>">首页&nbsp;</a>&nbsp;&nbsp;>&nbsp;<?=get_category_parents($cat,true,' > ');?>
			</div>

		<?php if ( have_posts() ) : ?>

			
			<div class="list_3">
			<ul>
			<?php
			// Start the Loop.
			while ( have_posts() ) : the_post();

				echo '<li>';	
			echo '	<a href="';
			echo the_permalink();
			echo'"rel="bookmark" class="title">';
			echo'<img src="';
			echo catch_that_image();
			echo'">';
			echo'<span class="tit">';
			
			
			echo the_title();
			echo'</span>';
			echo '</a>';
			echo '</li>';
			endwhile;

			// Previous/next page navigation.
			the_posts_pagination( array(
				'prev_text'          => __( 'Previous page', 'twentysixteen' ),
				'next_text'          => __( 'Next page', 'twentysixteen' ),
				'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>',
			) );

		// If no content, include the "No posts found" template.
		else :
			get_template_part( 'template-parts/content', 'none' );

		endif;
		?>
			</ul>	
			
			
			
			<div style="clear:both"></div>	
		</div>
		
	</div><!-- .content-area -->


<?php get_footer(); ?>
